package com.mirana.module.common.model.dictpm;

import com.mirana.frame.base.model.BaseModel;
import com.mirana.frame.db.base.anno.ColumnPlus;
import com.mirana.frame.db.base.anno.FKPlus;
import com.mirana.frame.db.base.anno.Notes;
import com.mirana.frame.db.base.anno.TablePlus;
import lombok.Data;

@Data
@Notes("方案文档移交记录表")
@TablePlus(name = "dict_plan_doc_transfer")
public class DictPlanDocTransfer extends BaseModel {

    @Notes("项目id，外键")
    @ColumnPlus()
    @FKPlus(tableClass = DictProject.class, column = "id")
    private Long project_id;

    @Notes("移交阶段。1售中移交，2项目交维")
    @ColumnPlus(length = "2")
    private int transfer_stage;

    @Notes("移交阶段名称。1售中移交，2项目交维")
    @ColumnPlus(default_val = "''", length = "50")
    private String transfer_stage_name;

    @Notes("方案文档id，外键")
    @ColumnPlus()
    @FKPlus(tableClass = DictPlanDoc.class, column = "id")
    private Long plandoc_id;

}
